package com.pureut.order.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.order.domain.ProcurementPlan;
import com.pureut.order.dto.ProcurementPlanDto;
import com.pureut.order.vo.ProcurementPlanVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProcurementPlanMapper extends BaseMapper<ProcurementPlan> {

    /**
     * 采购计划列表
     */
    List<ProcurementPlanDto> getprocurementPlanList(ProcurementPlanVo procurementPlanVo);

    /**
     * 根据id获取详情
     */
    ProcurementPlanDto getViewById(Long id);

    /**
     * 采购计划列表
     */
    List<ProcurementPlanDto> getProcurementPlanListByIds(@Param("idList") List<String> idList );
}
